package com.googlecode.allinclusive.fw.core.converter;

import org.springframework.core.convert.converter.ConverterRegistry;

public class StringConverter implements Converter {

	ConverterRegistry l;
	
	@Override
	public Object convert(Object obj) {
		if (obj == null) {
			return null;
		}
		
		if (obj instanceof CharSequence) {
			return obj.toString();
		}
		return obj.toString();
	}
}
